<?php
require_once __DIR__ . '/vendor/autoload.php';

use Predis\Client as Predis;

$redis_config = [
    'host'      =>  '127.0.0.1',
    'port'      =>  6379,
    'database'  =>  15
];
$redis = new Predis($redis_config);
#$redis->select('zbing');
$redis->set('zbing', 123);
$a = $redis->get('zbing');
echo $a;
#var_dump($redis);
